package com.wing.product.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;


@Data
@TableName("warehouse_settled")
@Schema(description = "仓库入驻信息实体")
@EqualsAndHashCode(callSuper=true)
public class WarehouseSettledEntity extends BaseEntity {

    @TableField("factory_id")
    @Schema(description = "仓库ID")
    private String factoryId;

    @TableField("contact_id")
    @Schema(description = "客户联系人ID")
    private String contactId;

    @TableField("customer_level_id")
    @Schema(description = "客户级别ID")
    private Integer customerLevelId;

    @TableField("status")
    @Schema(description = "状态：1-通过，2-驳回,3-撤销", allowableValues = {"1", "2","3"})
    private Integer status;

//    @TableField("remark")
//    @Schema(description = "备注信息")
//    private String remark;

    @TableField("trusteeship_contract_id")
    @Schema(description = "托管合同ID")
    private String trusteeshipContractId;

    @TableField("settled_order")
    @Schema(description = "入驻编号")
    private String settledOrder;

    
    @TableField("contract_time")
    @ApiModelProperty("合同时间")
    private Date contractTime;

    @TableField("source")
    @Schema(description = "来源：1-平台，2-管理后台", allowableValues = {"1", "2"})
    private Integer source;



}